package com.uliky.shouyiLibrary.cart.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "shouyiLibrary.thread")
public class ThreadPoolConfigProperties {
    //绑定配置
    private Integer coreSize; //线程池的核心大小
    private Integer maxSize;  //线程池的最大大小
    private Integer keepAliveTime;  //线程池的最大存活时间
}
